package com.yq.service.impl;

import com.yq.core.entity.SysCorRolePowerEntity;
import com.yq.core.service.SysCorRolePowerService;
import com.yq.service.annotation.AzerothAutoService;
import com.yq.service.dao.BaseMapper;
import com.yq.service.dao.SysCorRolePowerMapper;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.Map;


/**
 * 信  息: [yinquan] [2017-05-04] [1.0]
 * 描  述: Service 实现
 */
@AzerothAutoService("sysCorRolePowerService")
public class SysCorRolePowerServiceImpl extends BaseServiceImpl<SysCorRolePowerEntity, String> implements SysCorRolePowerService {

    private static Logger logger = LoggerFactory.getLogger(SysCorRolePowerServiceImpl.class);

    @Autowired
    private SysCorRolePowerMapper sysCorRolePowerMapper;

    public BaseMapper<SysCorRolePowerEntity, String> getBaseMapper() {
        return sysCorRolePowerMapper;
    }

    /** 删除角色授权 **/
    public void deleteAccredit(Map<String, Object> parameter) {
        sysCorRolePowerMapper.deleteAccredit(parameter);
    }
}